//
//  RemarkCell.m
//  LoveFreshBeen
//
//  Created by 胡不归是大虾 on 2016/10/19.
//  Copyright © 2016年 魏根. All rights reserved.
//

#import "RemarkCell.h"
@interface RemarkCell( )<UITextFieldDelegate>
@property (weak, nonatomic) IBOutlet UITextField *DetailTextFiled;



@end
@implementation RemarkCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.DetailTextFiled.delegate = self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    if (selected) {
        [self.DetailTextFiled becomeFirstResponder];
    }else{
        [self.DetailTextFiled resignFirstResponder];
    }
}
-(BOOL)textFieldShouldReturn:(UITextField *)textField{
    [textField resignFirstResponder];
    return YES;
}
@end
